<template>
  <div id="app">
    <HelloWorld :dataList="pageData"/>
  </div>
</template>

<script>
import HelloWorld from './components/HelloWorld.vue'

export default {
  name: 'App',
  components: {
    HelloWorld
  },
  data () {
    return {
      pageData: [{
        name: '页面1',
        id: 1,
        style: '#55efc4'
      }, {
        name: '页面2',
        id: 2,
        style: '#fab1a0'
      }, {
        name: '页面3',
        id: 3,
        style: '#fdcb6e'
      }, {
        name: '页面4',
        id: 4,
        style: '#0984e3'
      }]
    }
  }
}
</script>

<style>
* {
  padding: 0;
  margin: 0;
  user-select: none;
}
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}
</style>
